package org.jeecg.modules.xindian.reconciliation.service.impl;

import org.jeecg.modules.xindian.reconciliation.controller.rsp.BrokerageFeeSettlementInfoExcel;
import org.jeecg.modules.xindian.reconciliation.controller.rsp.SettlementPolicyInfoExcel;
import org.jeecg.modules.xindian.reconciliation.entity.SettlementPolicyRelation;
import org.jeecg.modules.xindian.reconciliation.mapper.SettlementPolicyRelationMapper;
import org.jeecg.modules.xindian.reconciliation.service.ISettlementPolicyRelationService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description: 结算汇总保单关联
 * @Author: jeecg-boot
 * @Date:   2024-04-11
 * @Version: V1.0
 */
@Service
public class SettlementPolicyRelationServiceImpl extends ServiceImpl<SettlementPolicyRelationMapper, SettlementPolicyRelation> implements ISettlementPolicyRelationService {


    @Override
    public List<SettlementPolicyInfoExcel> queryBySettlementId(String settlementId) {
        return getBaseMapper().queryBySettlementId(settlementId);
    }

    @Override
    public List<BrokerageFeeSettlementInfoExcel> queryBrokerageFeeBySettlementId(String settlementId) {
        return getBaseMapper().queryBrokerageFeeBySettlementId(settlementId);
    }
}
